package com.googlecode.garbagecan.commons.clistudy.ftp;

public class GetCommand implements Command {

	private String remoteFile;
	private String localFile;
	
	public GetCommand(String remoteFile, String localFile) {
		this.remoteFile = remoteFile;
		this.localFile = localFile;
	}
	
	public String execute() {
		System.out.println("get " + this.remoteFile + " " + this.localFile);
		return CMD_SUCCESS;
	}

	public String getRemoteFile() {
		return remoteFile;
	}

	public void setRemoteFile(String remoteFile) {
		this.remoteFile = remoteFile;
	}

	public String getLocalFile() {
		return localFile;
	}

	public void setLocalFile(String localFile) {
		this.localFile = localFile;
	}

}
